Skip to content

docs: auto-generate devshell.toml.md#64

Merged
zimbatm merged 1 commit intomasterfrom
modules-doc
Jan 22, 2021
Merged

docs: auto-generate devshell.toml.md#64
zimbatm merged 1 commit intomasterfrom
modules-doc

Conversation

@zimbatm
Copy link
Copy Markdown
Member

@zimbatm zimbatm commented Jan 21, 2021

This PR introduces the machinery that extracts the module configuration into
pure Nix values.

It outputs the markdown devshell.toml.md using that system. The output format
is still a bit rough to consume.

We are also one step closer to be able to query the module options using the
CLI and auto-generate the Go config struct from it.

The system is extensible so that third-party modules can also generate their
own docs.

Auto-generate the devshell.toml documentation from the nix modules.

This also opens the road for having a `nixos-options`-like utility to query
the devshell. And auto-generate the CLI config.
@zimbatm zimbatm marked this pull request as ready for review January 22, 2021 07:25
@zimbatm zimbatm merged commit c1b5cb1 into master Jan 22, 2021
@zimbatm zimbatm deleted the modules-doc branch January 22, 2021 07:26
tennox pushed a commit to tennox/devshell that referenced this pull request May 17, 2022
Auto-generate the devshell.toml documentation from the nix modules.

This also opens the road for having a `nixos-options`-like utility to query
the devshell. And auto-generate the CLI config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant